﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Engine.Graphics;
using System.Collections.ObjectModel;
using Microsoft.Xna.Framework.Graphics;
using Engine;
using Microsoft.Xna.Framework;

namespace Estadio.GameObjects
{
    public class FootballPlayer : ModelEntity
    {
        ILocator locator;

        public FootballPlayer(Entity parent, Model model, ILocator locator)
            : base(parent, model)
        {
            this.locator = locator;
            this.Scale = Vector3.One * 0.05f;
        }

        public override void Draw(Microsoft.Xna.Framework.GameTime gameTime)
        {
            this.offset = locator.World;
            //this.parentWorld = locator.Par
            base.Draw(gameTime);
        }

    }
}
